package com.yy.cleaner.model.dto;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * 用户登录dto
 */
@Data
public class UserLoginRequest {
    @Pattern(regexp = "^[A-Za-z0-9]+$")
    private String userName;
    @Pattern(regexp = "^[A-Za-z0-9]+$")
    private String passWord;
}
